﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using BOSS.Domain.Security;

namespace BOSS.Domain.Products
{
    /// <summary>
    /// 产品
    /// </summary>
    public class Product : DomainEntity<int>
    {
        /// <summary>
        /// 获取 / 设置 产品名称
        /// </summary>
        public virtual string Name { get; set; }

        /// <summary>
        /// 获取 / 设置 产品型号
        /// </summary>
        public virtual string Model { get; set; }

        /// <summary>
        /// 获取 / 设置 产品规格
        /// </summary>
        public virtual string Specification { get; set; }

        /// <summary>
        /// 获取 / 设置 可销售的
        /// </summary>
        public virtual bool Marketable { get; set; }

        /// <summary>
        /// 获取 / 设置 使用次数
        /// </summary>
        public virtual int? UseCount { get; set; }

        /// <summary>
        /// 获取 / 设置 采购价格
        /// </summary>
        public virtual decimal ProcurementPrice { get; set; }

        /// <summary>
        /// 获取 / 设置 销售价格
        /// </summary>
        public virtual decimal? SellingPrice { get; set; }
    }
}
